import request from '@/utils/request'

// 查询网关列表
export function listGateway() {
  return request({
    url: '/business/gateway/list',
    method: 'get'
  })
}

// 查询网关列表
export function getGateway(gatewayId) {
  return request({
    url: `/business/gateway/${gatewayId}`,
    method: 'get'
  })
}


// 网关修改
export function updateGateway(data) {
  return request({
    url: '/business/gateway',
    method: 'put',
    data: data
  })
}
